import request from '@/utils/request'

// 查询调拨入库管理列表
export function listTransferInbound(query) {
  return request({
    url: '/InboundManagement/transferInbound/list',
    method: 'get',
    params: query
  })
}

// 查询调拨入库管理详细
export function getTransferInbound(transferId) {
  return request({
    url: '/InboundManagement/transferInbound/' + transferId,
    method: 'get'
  })
}

// 新增调拨入库管理
export function addTransferInbound(data) {
  return request({
    url: '/InboundManagement/transferInbound',
    method: 'post',
    data: data
  })
}

// 修改调拨入库管理
export function updateTransferInbound(data) {
  return request({
    url: '/InboundManagement/transferInbound',
    method: 'put',
    data: data
  })
}

// 删除调拨入库管理
export function delTransferInbound(transferId) {
  return request({
    url: '/InboundManagement/transferInbound/' + transferId,
    method: 'delete'
  })
}
